package com.iplant.ams.service.po.ipt;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.po.enums.DBSchemas;
import com.iplant.base.utils.annotation.po.DBBasePO;
import com.iplant.base.utils.annotation.condition.DBCondition;
import com.iplant.base.utils.annotation.field.DBField;

import java.io.Serializable;

@DBBasePO(TableName = "IPT_RecordItemValue", Code = false, Name = false, Active = false, CheckName = {"RecordID," +
        "WorkpieceID"},
        Schemas = DBSchemas.AMS)
public class IPTRecordItemValue extends BasePO implements Serializable {
    @DBCondition
    @DBField
    public int RecordID = 0;
    @DBCondition
    @DBField
    public int WorkpieceID = 0;
    public String WorkpieceNo = "";
    @DBField
    public String Remark = "";
    @DBCondition
    @DBField
    public int Result = 0;

    @JsonProperty("RecordID")
    public int getRecordID() {
        return RecordID;
    }

    public void setRecordID(int recordID) {
        RecordID = recordID;
    }

    @JsonProperty("WorkpieceID")
    public int getWorkpieceID() {
        return WorkpieceID;
    }

    public void setWorkpieceID(int workpieceID) {
        WorkpieceID = workpieceID;
    }

    @JsonProperty("WorkpieceNo")
    public String getWorkpieceNo() {
        return WorkpieceNo;
    }

    public void setWorkpieceNo(String workpieceNo) {
        WorkpieceNo = workpieceNo;
    }

    @JsonProperty("Remark")
    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    @JsonProperty("Result")
    public int getResult() {
        return Result;
    }

    public void setResult(int result) {
        Result = result;
    }
}
